package com.lagou.ex.dao;

import com.lagou.ex.entity.TbUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserRepository extends JpaRepository<TbUser, Long> {

    List<TbUser> findByLoginnameAndLoginpass(String loginname, String loginpass);

}
